﻿using System;

namespace Caramel.Cqrs
{
	public interface IQueryProcessor<TQuery, TQueryResult> : IQueryProcessor
		where TQuery : class, IQuery
		where TQueryResult : class, IQueryResult
	{
		TQueryResult Process(TQuery query);
	}
}
